package com.serup.bean;

// default package

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name = "";
	private Integer canCreateTask;
	private Integer canCreateData;
	private Integer canSelectData;
	private Integer canDeleteData;
	private Integer canEditData;
	private Integer canViewLeave;
	private Integer canAttendance;
	private Integer canAddUser;
	private Integer canDeleteUser;
	private Integer canEditUser;
	private Integer canCreateSet;
	private Integer canUpdateSet;
	private Integer canDeleteSet;
	private Integer canAddRole;
	private Integer canDeleteRole;
	private Integer canEditRole;
	private Integer canSecondMenu;
	private Integer canPublicNews;
	private Integer canNotice;
	private Integer canAddDept;
	private Integer canDeleteDept;
	private Integer canUpdateDept;
	private Integer rolesApplyint;
	private Integer rolesRefundint;
	private Integer rolesFinanceDeleteint;
	private Integer rolesRefundDeleteint;
	private Integer rolesFinanceSelectint;
	private Integer rolesRefundSelectint;
	private Integer rolesChatSelectint;
	private Set tbuserBasicinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Role() {
	}

	/** full constructor */
	public Role(String name, Integer canCreateTask, Integer canCreateData,
			Integer canSelectData, Integer canDeleteData, Integer canEditData,
			Integer canViewLeave, Integer canAttendance, Integer canAddUser,
			Integer canDeleteUser, Integer canEditUser, Integer canCreateSet,
			Integer canUpdateSet, Integer canDeleteSet, Integer canAddRole,
			Integer canDeleteRole, Integer canEditRole, Integer canSecondMenu,
			Integer canPublicNews, Integer canNotice, Integer canAddDept,
			Integer canDeleteDept, Integer canUpdateDept, Integer rolesApplyint,
			Integer rolesRefundint, Integer rolesFinanceDeleteint,
			Integer rolesRefundDeleteint, Integer rolesFinanceSelectint,
			Integer rolesRefundSelectint, Integer rolesChatSelectint,
			Set tbuserBasicinfos) {
		this.name = name;
		this.canCreateTask = canCreateTask;
		this.canCreateData = canCreateData;
		this.canSelectData = canSelectData;
		this.canDeleteData = canDeleteData;
		this.canEditData = canEditData;
		this.canViewLeave = canViewLeave;
		this.canAttendance = canAttendance;
		this.canAddUser = canAddUser;
		this.canDeleteUser = canDeleteUser;
		this.canEditUser = canEditUser;
		this.canCreateSet = canCreateSet;
		this.canUpdateSet = canUpdateSet;
		this.canDeleteSet = canDeleteSet;
		this.canAddRole = canAddRole;
		this.canDeleteRole = canDeleteRole;
		this.canEditRole = canEditRole;
		this.canSecondMenu = canSecondMenu;
		this.canPublicNews = canPublicNews;
		this.canNotice = canNotice;
		this.canAddDept = canAddDept;
		this.canDeleteDept = canDeleteDept;
		this.canUpdateDept = canUpdateDept;
		this.rolesApplyint = rolesApplyint;
		this.rolesRefundint = rolesRefundint;
		this.rolesFinanceDeleteint = rolesFinanceDeleteint;
		this.rolesRefundDeleteint = rolesRefundDeleteint;
		this.rolesFinanceSelectint = rolesFinanceSelectint;
		this.rolesRefundSelectint = rolesRefundSelectint;
		this.rolesChatSelectint = rolesChatSelectint;
		this.tbuserBasicinfos = tbuserBasicinfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCanCreateTask() {
		return this.canCreateTask;
	}

	public void setCanCreateTask(Integer canCreateTask) {
		this.canCreateTask = canCreateTask;
	}

	public Integer getCanCreateData() {
		return this.canCreateData;
	}

	public void setCanCreateData(Integer canCreateData) {
		this.canCreateData = canCreateData;
	}

	public Integer getCanSelectData() {
		return this.canSelectData;
	}

	public void setCanSelectData(Integer canSelectData) {
		this.canSelectData = canSelectData;
	}

	public Integer getCanDeleteData() {
		return this.canDeleteData;
	}

	public void setCanDeleteData(Integer canDeleteData) {
		this.canDeleteData = canDeleteData;
	}

	public Integer getCanEditData() {
		return this.canEditData;
	}

	public void setCanEditData(Integer canEditData) {
		this.canEditData = canEditData;
	}

	public Integer getCanViewLeave() {
		return this.canViewLeave;
	}

	public void setCanViewLeave(Integer canViewLeave) {
		this.canViewLeave = canViewLeave;
	}

	public Integer getCanAttendance() {
		return this.canAttendance;
	}

	public void setCanAttendance(Integer canAttendance) {
		this.canAttendance = canAttendance;
	}

	public Integer getCanAddUser() {
		return this.canAddUser;
	}

	public void setCanAddUser(Integer canAddUser) {
		this.canAddUser = canAddUser;
	}

	public Integer getCanDeleteUser() {
		return this.canDeleteUser;
	}

	public void setCanDeleteUser(Integer canDeleteUser) {
		this.canDeleteUser = canDeleteUser;
	}

	public Integer getCanEditUser() {
		return this.canEditUser;
	}

	public void setCanEditUser(Integer canEditUser) {
		this.canEditUser = canEditUser;
	}

	public Integer getCanCreateSet() {
		return this.canCreateSet;
	}

	public void setCanCreateSet(Integer canCreateSet) {
		this.canCreateSet = canCreateSet;
	}

	public Integer getCanUpdateSet() {
		return this.canUpdateSet;
	}

	public void setCanUpdateSet(Integer canUpdateSet) {
		this.canUpdateSet = canUpdateSet;
	}

	public Integer getCanDeleteSet() {
		return this.canDeleteSet;
	}

	public void setCanDeleteSet(Integer canDeleteSet) {
		this.canDeleteSet = canDeleteSet;
	}

	public Integer getCanAddRole() {
		return this.canAddRole;
	}

	public void setCanAddRole(Integer canAddRole) {
		this.canAddRole = canAddRole;
	}

	public Integer getCanDeleteRole() {
		return this.canDeleteRole;
	}

	public void setCanDeleteRole(Integer canDeleteRole) {
		this.canDeleteRole = canDeleteRole;
	}

	public Integer getCanEditRole() {
		return this.canEditRole;
	}

	public void setCanEditRole(Integer canEditRole) {
		this.canEditRole = canEditRole;
	}

	public Integer getCanSecondMenu() {
		return this.canSecondMenu;
	}

	public void setCanSecondMenu(Integer canSecondMenu) {
		this.canSecondMenu = canSecondMenu;
	}

	public Integer getCanPublicNews() {
		return this.canPublicNews;
	}

	public void setCanPublicNews(Integer canPublicNews) {
		this.canPublicNews = canPublicNews;
	}

	public Integer getCanNotice() {
		return this.canNotice;
	}

	public void setCanNotice(Integer canNotice) {
		this.canNotice = canNotice;
	}

	public Integer getCanAddDept() {
		return this.canAddDept;
	}

	public void setCanAddDept(Integer canAddDept) {
		this.canAddDept = canAddDept;
	}

	public Integer getCanDeleteDept() {
		return this.canDeleteDept;
	}

	public void setCanDeleteDept(Integer canDeleteDept) {
		this.canDeleteDept = canDeleteDept;
	}

	public Integer getCanUpdateDept() {
		return this.canUpdateDept;
	}

	public void setCanUpdateDept(Integer canUpdateDept) {
		this.canUpdateDept = canUpdateDept;
	}

	public Integer getRolesApplyint() {
		return this.rolesApplyint;
	}

	public void setRolesApplyint(Integer rolesApplyint) {
		this.rolesApplyint = rolesApplyint;
	}

	public Integer getRolesRefundint() {
		return this.rolesRefundint;
	}

	public void setRolesRefundint(Integer rolesRefundint) {
		this.rolesRefundint = rolesRefundint;
	}

	public Integer getRolesFinanceDeleteint() {
		return this.rolesFinanceDeleteint;
	}

	public void setRolesFinanceDeleteint(Integer rolesFinanceDeleteint) {
		this.rolesFinanceDeleteint = rolesFinanceDeleteint;
	}

	public Integer getRolesRefundDeleteint() {
		return this.rolesRefundDeleteint;
	}

	public void setRolesRefundDeleteint(Integer rolesRefundDeleteint) {
		this.rolesRefundDeleteint = rolesRefundDeleteint;
	}

	public Integer getRolesFinanceSelectint() {
		return this.rolesFinanceSelectint;
	}

	public void setRolesFinanceSelectint(Integer rolesFinanceSelectint) {
		this.rolesFinanceSelectint = rolesFinanceSelectint;
	}

	public Integer getRolesRefundSelectint() {
		return this.rolesRefundSelectint;
	}

	public void setRolesRefundSelectint(Integer rolesRefundSelectint) {
		this.rolesRefundSelectint = rolesRefundSelectint;
	}

	public Integer getRolesChatSelectint() {
		return this.rolesChatSelectint;
	}

	public void setRolesChatSelectint(Integer rolesChatSelectint) {
		this.rolesChatSelectint = rolesChatSelectint;
	}

	public Set getTbuserBasicinfos() {
		return this.tbuserBasicinfos;
	}

	public void setTbuserBasicinfos(Set tbuserBasicinfos) {
		this.tbuserBasicinfos = tbuserBasicinfos;
	}

}